package net.jueb.frameworkDemo.se.observer.eventBus2.impl;

import net.jueb.frameworkDemo.se.observer.eventBus2.Event;
import net.jueb.frameworkDemo.se.observer.eventBus2.Receiver;

/**
 * 升级事件接收者
 */
public class LevelUpEventReceiver2 implements Receiver<LevelUpEvent> {
	

	@Override
	public void onEvent(Event<LevelUpEvent> event) {
		LevelUpEvent levelUpEvent=event.getBody();
		System.out.println("收到升级事件:"+levelUpEvent);
	}
}
